<!-- layout::Admin:iframe/header::$tpl_cache_date -->

<!-- Start Page Header -->
<div id="page-header">
    <h1><?=$title?></h1>
</div>
<!-- End Page Header -->

<!-- Start Grid -->
<div class="container_12">

<!-- Start Table -->
<div class="grid_12">
  <div class="box-header"> 会员列表 </div>
  <div class="box table">
    <table cellspacing="0">
      <thead>
        <tr>
          <td class="tc"> <input type="checkbox" value="" class="checkbox" /> </td>
          <td class="tl"> 用户名 </td>
          <td class="tl"> 邮箱 </td>
          <td class="tl"> 最后登录时间 </td>
          <td class="tl"> 角色 </td>
          <td class="tl"> 选项 </td>
        </tr>
      </thead>
      <tbody>
      <?php
          foreach($list as $k=>$v) {
			  $edit_url = U('member/edit', array('id'=>$v['id']));
			  $delete_url = U('member/delete', array('id'=>$v['id']));
      ?>
        <tr>
          <td class="tc"> <input type="checkbox" value="" class="checkbox" /> </td>
          <td class="tl"> <?=$v['name']?> </td>
          <td class="tl"> <?=$v['email']?> </td>
          <td class="tl"> <?=togmdate($v['lastdate'])?> </td>
          <td class="tl"> 角色 </td>
          <td class="tl"><a href="<?=$edit_url?>" title="编辑会员"><img src="<?=$tplPath?>img/icons/small/user_edit.png" alt="编辑会员" border="0" /></a> &nbsp; <a href="<?=$delete_url?>" title="删除会员"><img src="<?=$tplPath?>img/icons/small/user_delete.png" alt="删除会员" border="0" /></a></td>
        </tr>
      <?php } ?>
      </tbody>
    </table>
  </div>
</div>
<!-- End Table -->
</div>

<!-- layout::Admin:iframe/footer::$tpl_cache_date -->